package dtrs.corba.utilities;

public class DtrsConstants {
	
	
	public enum BOX_OFFICE {
		MONTREAL, TORONTO, EDMONTON, REGINA, WINNIPEG, 
	}
	
	public static final String URL_GENERAL_LOCALHOST = "localhost";
	
	public static final String BOX_MONTREAL="MON";
	//public static final String URL_SERVER_MONTREAL = "rmi://localhost:2021/mtl";
	public static final String PORT_SERVER_MONTREAL = "1050";
	public static final String PORT_UDP_SERVER_MONTREAL = "6788";
	
	

	public static final String BOX_TORONTO="TOR";
	//public static final String URL_SERVER_TORONTO = "rmi://localhost:2022/tor";
	public static final String PORT_SERVER_TORONTO = "1050";
	public static final String PORT_UDP_SERVER_TORONTO = "6789";
	
	public static final String BOX_EDMONTON="EDM";
	//public static final String URL_SERVER_EDMONTON = "rmi://localhost:2023/edm";
	public static final String PORT_SERVER_EDMONTON = "1050";
	public static final String PORT_UDP_SERVER_EDMONTON = "6790";
	
	
	public static final String BOX_REGINA="REG";
	//public static final String URL_SERVER_REGINA = "rmi://localhost:2024/reg";
	public static final String PORT_SERVER_REGINA = "1050";
	public static final String PORT_UDP_SERVER_REGINA = "6791";
	
	public static final String BOX_WINNIPEG="WIN";
//	public static final String URL_SERVER_WINNIPEG = "rmi://localhost:2025/win";
	public static final String PORT_SERVER_WINNIPEG = "1050";
	public static final String PORT_UDP_SERVER_WINNIPEG = "6792";
	
	public static final String BOX_CALGARY="CAL";
//	public static final String URL_SERVER_CALGARY = "rmi://localhost:2025/win";
	public static final String PORT_SERVER_CALGARY = "1050";
	public static final String PORT_UDP_SERVER_CALGARY = "6793";
	
	public static final int NUMBER_OF_SERVERS = 5;
	
	public static final String ORB_PORT_KEY_WORD = "-ORBInitialPort";
	public static final String ORB_HOST_KEY_WORD = "-ORBInitialHost";
	
	
	public static final int ROW_ACTION_GET_TICKETS_AVAILABLES = 1;
	public static final int ROW_ACTION_UPDATE_RESERVE_TICKETS = 2;	
	public static final int ROW_ACTION_UPDATE_CANCEL_TICKETS = 3;

	
	public static final int OPERATION_CHECK_TICKETS_DISPO = 1;
	public static final int OPERATION_RESERVE = 2;
	public static final int OPERATION_CANCEL_TICKETS = 3;
	public static final int OPERATION_EXCHANGED_TICKETS = 4;	
	public static final int OPTION_MENU_OPERATION_EXIT = 5;
	public static final int OPERATION_CHECK_TICKETS_DISPO_BY_CUSTOMER = 6;
	
	public static final String DESC_FOR_GENERAL_OPERARIONS = "BOX_ALL_OPERATIONS";
	public static final String DESC_FOR_EXCHA_OPERATIONS = "BOX_EXCHANGED";
	
	public static final String COD_RESP_UDP_SUCCESS = "SUCCE";
	public static final String COD_RESP_UDP_ERROR = "ERROR";
	
	public static final String CODE_OPERATION_UDP_RESERVE = "R";
	public static final String CODE_OPERATION_UDP_CANCEL = "C";
	
	
	

}
